﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    abstract  class Robot
    {
        private string name;
        public string Name 
        { 
            get => name; set => name = value; 
        }
        public Robot()
        {

        }
        public Robot(string name)
        {
            this.name = name;
        }
        public abstract void Working();
        
    }
}
